-
-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packetfly module #813
Packetfly module #813
Conversation
src/main/java/minegame159/meteorclient/systems/modules/movement/PacketFly.java
Outdated
Show resolved
Hide resolved
|
||
@EventHandler | ||
public void onPacketSent(PacketEvent.Send event) { | ||
PlayerMoveC2SPacket packet; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see a reason for this field
@@ -0,0 +1,46 @@ | |||
package minegame159.meteorclient.utils.misc; | |||
|
|||
public class Timer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please name the methods more descriptively, I have no idea what some of them mean.
return false; | ||
} | ||
|
||
private double[] getMotion(double speed) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this can be replaced for a method from PlayerUtils class? Not sure but it seems to do similar thing.
src/main/java/minegame159/meteorclient/systems/modules/movement/PacketFly.java
Show resolved
Hide resolved
Also it might be good to group some of the settings into more groups if it makes sense. |
- Entity mixin now checks if entity is player - Moved fields below settings - Removed useless field from onPacketSent - Removed other useless stuff
Fixed most of what you suggested, I just need to group the settings now. |
Ok, everything should be resolved now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An extra ')' was added after velocity.entityPush.get()
No description provided.